package src.com.zt.demo.interface_extends_demo.object_interface.prictice;

public class Lion extends Carnivore {
    public Lion(String skin) {
        super(skin);
        System.out.println("这是一个狮子类");
    }

    @Override
    public void speed() {
        System.out.println("速度中等");
    }

    @Override
    public void reprouces() {
        System.out.println("受孕");
    }
}
